package yl.hs.bmipfull.pojo.salemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * @author 谢东
 * @apiNote 跟进记录实体类
 * @since 2022年08月03日 09时32分39秒
 */
@DBTable(disName = "跟进记录", mapCode = "followup_record")
public class FollowupRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "跟进记录编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 客户编号
     */
    @DBField(disName = "客户编号", mapCode = "customerSN")
    private String customerSN;
    /**
     * 客户名称
     */
    @DBField(disName = "客户名称", mapCode = "customerName")
    private String customerName;
    /**
     * 工地编号
     */
    @DBField(disName = "工地编号", mapCode = "projectSN")
    private String projectSN;
    /**
     * 项目工程
     */
    @DBField(disName = "跟进记录编号", mapCode = "customerSN")
    private String projectName;
    /**
     * 跟进类型
     */
    @DBField(disName = "跟进类型", mapCode = "followType")
    private Short followType;
    /**
     * 跟进方式
     */
    @DBField(disName = "跟进方式", mapCode = "followMode")
    private Short followMode;
    /**
     * 拜访时间
     */
    @DBField(disName = "拜访时间", mapCode = "followDate")
    private Date followDate;
    /**
     * 拜访人员编号
     */
    @DBField(disName = "拜访人员编号", mapCode = "userSN")
    private String userSN;
    /**
     * 拜访人员名称
     */
    @DBField(disName = "拜访人员名称", mapCode = "userName")
    private String userName;
    /**
     * 拜访名称
     */
    @DBField(disName = "拜访名称", mapCode = "name")
    private String name;
    /**
     * 跟进内容
     */
    @DBField(disName = "跟进内容", mapCode = "content")
    private String content;
    /**
     * 照片
     */
    @DBField(disName = "照片", mapCode = "photo")
    private String photo;
    /**
     * 地址
     */
    @DBField(disName = "地址", mapCode = "address")
    private String address;
    /**
     * 坐标
     */
    @DBField(disName = "坐标", mapCode = "coordinate")
    private String coordinate;
    /**
     * 备注
     */
    @DBField(disName = "备注", mapCode = "remark")
    private String remark;

    /**
     * 状态
     */
    @DBField(disName = "状态", mapCode = "state")
    private short state;

    public String getProjectSN() {
        return projectSN;
    }

    public void setProjectSN(String projectSN) {
        this.projectSN = projectSN;
    }

    public String getCustomerSN() {
        return customerSN;
    }

    public void setCustomerSN(String customerSN) {
        this.customerSN = customerSN;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerName() {
        return this.customerName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return this.projectName;
    }

    public void setFollowType(Short followType) {
        this.followType = followType;
    }

    public Short getFollowType() {
        return this.followType;
    }

    public void setFollowMode(Short followMode) {
        this.followMode = followMode;
    }

    public Short getFollowMode() {
        return this.followMode;
    }

    public void setFollowDate(Date followDate) {
        this.followDate = followDate;
    }

    public Date getFollowDate() {
        return this.followDate;
    }

    public void setUserSN(String userSN) {
        this.userSN = userSN;
    }

    public String getUserSN() {
        return this.userSN;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return this.content;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return this.photo;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return this.address;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getCoordinate() {
        return this.coordinate;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

}